all: gateway -lpthread
#	CC=mipsel-openwrt-linux-gcc	
gateway: gateway.o
	$(CC) $(LDFLAGS)  gateway.o -o  gateway 
gateway.o: gateway.c
	$(CC) $(CFLAGS) -lpthread -c  gateway.c
clean:
	rm *.o gateway


